projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a011665
)
Use `pop-to-buffer-same-window' in `project-eshell'
author
Simen Heggestøyl
<simenheg@gmail.com>
Mon, 8 Mar 2021 11:38:41 +0000
(12:38 +0100)
committer
Simen Heggestøyl
<simenheg@runbox.com>
Mon, 8 Mar 2021 11:58:10 +0000
(12:58 +0100)
* lisp/progmodes/project.el (project-eshell): Use
`pop-to-buffer-same-window' instead of `pop-to-buffer' to match the
behavior of `M-x eshell'.
lisp/progmodes/project.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/project.el
b/lisp/progmodes/project.el
index abe563bec04c712eee2f203f670824239a183136..d59da2496a7cd6776a6bb95caac68b5ecc1af84b 100644
(file)
--- a/
lisp/progmodes/project.el
+++ b/
lisp/progmodes/project.el
@@
-924,7
+924,7
@@
if one already exists."
"-eshell*"))
(eshell-buffer (get-buffer eshell-buffer-name)))
(if (and eshell-buffer (not current-prefix-arg))
- (pop-to-buffer eshell-buffer)
+ (pop-to-buffer
-same-window
eshell-buffer)
(eshell t))))
;;;###autoload